package com.vdm.dao;

import com.vdm.model.VehicleInfo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface VehicleInfoMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(VehicleInfo record);

    int insertSelective(VehicleInfo record);

    VehicleInfo selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(VehicleInfo record);

    int updateByPrimaryKey(VehicleInfo record);

    List<VehicleInfo> vehicleInfoList();

    int getVehicleInfoCount();

    int updateVehicleInfoStatus(@Param("ids") List<Integer> ids, @Param("type") Integer type);

    List<VehicleInfo> getAllVehicleInfo();
}